Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) ViewProfile Intercept (Read 12413 times)
pyragony54
God Member
*****
Offline


I Love YaBB!

Posts: 664
Location: Йошкар-Ола
Joined: May 25th, 2014
Gender: Male
Re: ViewProfile Intercept
Reply #5 - Nov 16th, 2014 at 3:23pm
Print Post  
Code
Select All
<edit file>
Languages/German/Admin.lng
</edit file>

<search for>
1;
</search for>

<add before>
$admin_txt{'profile_int'} = q~Leiten Sie Gastklicks auf Mitgliedernamensverbindungen zu einer 'Register oder Anmeldung' Seite um. Deaktivieren Sie den Mitgliedsnamen-Link für Gäste.~;

</add before>

<edit file>
Languages/German/Main.lng
</edit file>

<search for>
1;
</search for>

<add before>
$maintxt{'members_only'} = q~Nur Mitglieder können auf das Profil eines anderen Mitglieds zugreifen.~;
$maintxt{'reg_please'} = qq~Bitte <a href="$scripturl?action=register" style="font-weight: bold;">registrieren Sie einen Account bei uns</a> oder <a href="$scripturl?action=login" style="font-weight: bold;">loggen Sie sich ein.</a>.~;
$maintxt{'regplease'} = q~Bitte registrieren.~;

</add before> 









Code
Select All
<edit file>
Languages/German_Du/Admin.lng
</edit file>

<search for>
1;
</search for>

<add before>
$admin_txt{'profile_int'} = q~Leite Gastklicks auf Mitgliedernamensverbindungen zu einer 'Register oder Anmeldung' Seite um. Deaktiviere den Mitgliedsnamen-Link für Gäste.~;

</add before>

<edit file>
Languages/German_Du/Main.lng
</edit file>

<search for>
1;
</search for>

<add before>
$maintxt{'members_only'} = q~Nur Mitglieder können auf das Profil eines anderen Mitglieds zugreifen.~;
$maintxt{'reg_please'} = qq~Bitte <a href="$scripturl?action=register" style="font-weight: bold;">registriere einen Account bei uns</a> oder <a href="$scripturl?action=login" style="font-weight: bold;">logge Dich ein.</a>.~;
$maintxt{'regplease'} = q~Bitte registrieren.~;

</add before> 

  

Bad manners keep people but the only reason for a kind of privilege, because no skin them on the mouth.
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: ViewProfile Intercept
Reply #4 - Oct 19th, 2014 at 1:29am
Print Post  
It also gives the admin the option to have the ViewProfile link go to a 'register or login' screen so guests know that Member info is available to other Members. (And will be part of 2.6.2)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Simps
New Member
*
Offline


I Love YaBB!

Posts: 20
Location: UK
Joined: Jul 22nd, 2014
Gender: Male
Re: ViewProfile Intercept
Reply #3 - Oct 19th, 2014 at 12:55am
Print Post  
Ahh ok , thanks for clearing that up.
  
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Re: ViewProfile Intercept
Reply #2 - Oct 19th, 2014 at 12:41am
Print Post  
This stops the error from being thrown into the errorlog by stopping the creation of the link to the Profile. It's a subtle difference, but bots won't have the address of the profile so they're stopped from filling the errorlog with their attempts to access it.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Simps
New Member
*
Offline


I Love YaBB!

Posts: 20
Location: UK
Joined: Jul 22nd, 2014
Gender: Male
Re: ViewProfile Intercept
Reply #1 - Oct 18th, 2014 at 11:54pm
Print Post  
Is this already in 2.6.1
As a guest I cannot view users profile links on my 2.6.1 forum.
  
Back to top
 
IP Logged
 
Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 1759
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
ViewProfile Intercept
Oct 8th, 2014 at 7:45pm
Print Post  
ViewProfile Intercept YaBB 2.6.11

This mod blocks guests from seeing member 'view profile' links. Admin can choose to have no link and a title 'pop-up' explaining that this is a member-only feature or a link to a 'Register or Login' screen.

Version History
---------------
0.1 - First release - Oct 8, 2014
0.2 - For 2.6.11 - Jan 15, 2015

Instructions:

Apply the mod and upload (in ASCII mode):

cgi-bin/yabb2/Admin/Modlist.pm
cgi-bin/yabb2/Admin/NewSettings.pm
cgi-bin/yabb2/Admin/Settings_Main.pm
cgi-bin/yabb2/Languages/English/Admin.lng
cgi-bin/yabb2/Sources/BoardIndex.pm
cgi-bin/yabb2/Sources/Display.pm
cgi-bin/yabb2/Sources/EventCal.pm
cgi-bin/yabb2/Sources/EventCalBirthdays.pm
cgi-bin/yabb2/Sources/MessageIndex.pm
cgi-bin/yabb2/Sources/Poll.pm
cgi-bin/yabb2/Sources/Post.pm
cgi-bin/yabb2/Sources/Recent.pm
cgi-bin/yabb2/Sources/Search.pm
cgi-bin/yabb2/Sources/SubList.pm
cgi-bin/yabb2/Sources/Subs.pm
cgi-bin/yabb2/Templates/default/Other.template

(This will be included in 2.6.2)
« Last Edit: Feb 23rd, 2015 at 6:28pm by Dandello »  

viewprofile_intercept_2611.zip (Attachment deleted | 37 Downloads )
viewprofile_intercept_2611_German_files_a.zip (Attachment deleted | 27 Downloads )

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint